updated switch header to reflect code