updated readme file with sample code