factoring out simpler src->dst path maps