Code examples for yesterdays lecture