set works for both alternations