converted enums to NS_ENUM