working on the overlap function.