Pass an argument to function