adding the ability to set a view controller in the array