updated readme with better example code