merge method added