1. add sample code