Updated use of arguments with setImmediate