renamed constants to enums