ns and proxy functions added