add sample code in README