created a sample that uses built in gyro