changed to NS_ENUM