add sample code.