adding ndmod