added gyro based stability