merger with delete function