wrote skeleton for sensor, need to implement the collect_data() method