rgam works with this simple patch
rotations now works as is