Accept only valid modes