passing in an array to the engine.registerFunctions method