adding 2 state switch/moving platforms