Added example of array input parameter and returning an array