tried adding gyro code, failed