add some links, fix code snippet