yaw testing code added.