dealing with overlappings