stitching snippet of code

*Does not run independently by itself*