aligns code with the code walkthru at async-es.github.com