Not passing array correctly to function

You should pass Collection on its own. The array name (reference) is already a pointer to the array.