[DOC] updated readme with example code