Duh. custom functions must be called with a single array that contains the arguments