working polygonal rotations