todo list and original code