integrated first part of NFC (still in progress)