1. add sample code
2. fix example document