updated switch evaluation to true