changed enumeration formatter code style