add variable for max level, loops back around to level 1 when reached