Edited the view to display two different objects of the array