adds each_with_object to todos