add accelrometer feature completed