More reasonable code examples

Trying to use code examples that also make sense semantically.