updated readme and example file