updated readme with sample code