add sample code and url