There are quite many places in my code where I need to loop through enum values to do something. So for the sake of simplicity and clarity, I would like to convert, for exam