collecting the lines that will need to be edited to work with stubs