changed switch to flip