use enums instead of option names