add sample codes