add a sample code