refactored to use literal syntax when building the array in the view controller.