extract todo list helper