separated todo and new_todo from index