added the overlap function