updated readme with improved example