little tweaks to writing

More work done the gist for the example.