Example code and comments

Click merge to add these to your repo, or just read and learn from the changes I've commented on.