Updated to send sensor information