adding sensor to control the turtle