added map to the accelerometer value