add method to merge