quaternion problem