created a mutable array and then added to it within the todolist view controller