whitespace agnostic switch