added division to the new switch

also updated syntax