using new Quat code