Tweaking code examples