added example and README for documentation