refactoring stitchers