added one enum
refactor