add new sample code.