just added an emum type. for a state change. will look at later