ADding TimeOverlap algorithm