added accel sensor