d'oh, stitchup already exists and does the same thing (nearly)