instantiated linRotate functions