Testing new overlap function WIP