add sample code license