switch statement

switch statement added trying to get conditionals to work