changed state variables into constants instead of enums.