added more comments and gyro states