modifications to cloudbridge for accelerometer