handle enum value checks

max +1