Added the distance code for sensor