can I send an array to a function?