Example code for various topics