imported stitchDom code from stitch
removing q from dependencies