tested with ifdef nfc