Finished implementing Sensors functions