Tesla has unveiled a new update, allowing its cars to drive by themselves using radar and ultrasonic sensors and cameras.

In October 2014, Tesla began fitting their Model S cars with a forward-facing camera and front-mounted radar kit. The cars also featured 12 long-range sensors that could input data received from a 16-foot radius around the car.

The autopilot used four feedback sources: camera, radar, ultrasonic sensors, and satellite GPS data, all of them linked digitally with the motor, brakes, and steering.

Gov. Jerry Brown, who stated in September 2012, “Autonomous vehicles are another example of how California’s technological leadership is turning today’s science fiction into tomorrow’s reality. This law will allow California’s pioneering engineers to safely test and implement this amazing new technology,” signed legislation permitting autonomous vehicles to be used in the state.

The California DMV said the new Tesla model is legal.

Tesla creator Elon Musk predicted that within five to six years, drivers would be able to sleep while at the wheel.