Tweaked code sample style, and removed useless indentation