use NS_ENUM in place of enum