Created new method to automate the merge

This new method enables to call merge