switch statement
formatting