changed numbers with enums