added ultrasonic sensor to detect objects in front