updated read me and example code