fix typos, link, rearrange example