updated
fixed indentation
changed for use with todo_list