added nbn_search and get_nbnid fxns #332