enum declaration should contain enum elements first