additions to nsa_example