Merge Functionality added