changed switch name to match test