added panic() conditions to enumerators