Example code and slides