add a new sample code