Added ne algo