Pass an array into method arguments