gyro code thrown in