Placed in skeleton code for sensor_sm but have not tested or compiled anything yet