putting the enum wrapper where it belongs