deleted extra comparison counter