added signature to ns_api