Replaced TurnOnPlace, cleaned code