Utilizing the accelerometer