Dynamic conditionals are expensive, easier to have two instances, each with a different switch value.