changed the switch placement action