I did not put the types because they would be pretty useless if defined within the switch block. So I am assuming they are defined earlier