can generate enum