cleaning bridgeproblem and commenting overlappingintervals