creating enum to save data