added functions to todo list