plumbing for easy loop transforms