adding merge and overlaps methods