Added overlap highlighting feature in logic