working version of todo.sh