formatting of enum values as suggested by The Kiwi5000