Created new method to automate the merge