added documentation for nns_scheme