added comments and using examples for overlaps
fixed changes