forgot to write my switch statement