initializes enum