updated to simplified ns_service