added nda group checking [fixes #8]