adding sensor_id and finalizing...