begining to piece together merging