making code samples in readme more consistent