Rotate a mesh around it's center using quaternion

i was able to solve the problems using those nodes.

This was used with quaternion plugin to find the quat at the y axis and to rotate the object around it