learn the example of mean-todo from Scotch