functions.js invocation