fixed the functions within the ToDos collection