populateEnum and formatting