Change readme code examples to be more explicit

Updating readme to show the two different examples more explicitly.  The previous code example was confusing to me.