Great algo, Bellcrank! But as STW says, you need to put in a modifier for the max number of command courses that can be done. I don't think we have ever done more than 90 per year, and certainly the average is probably closer to 70 (over the past 2 decades).