scalable rev.

made a maxChoices global for the maximum number of choices
moved the 2 valid inputs up to the globals as well.