return collection in place of array