add sample code for package