cleaned up pull-relation, swapped out maps for pmaps in utils