made todo.persisted? change based on ELiot's recommendation