part 1 of todosView, not using newtodoview