Example code updates