Adding harlap detector