switch case implemented
hopefully done (NO TESTS YET)