Put back Juan's code with no gyro