Added a sample code