added logging for quaternion