Add a sample code snippet