Make helper function static. NFC.