refactored naming of array to collection