added nfc var definition - fixes "nfc’ was not declared in this scope" error