updates to make sensor_listener work (ish).