add sample code for reference in future