Solved, the var-argument has to be the first argument.