yes. I sppoted another code which can be refactored using enum instead of each_key loop