Adding overlap detector