fixed example and updated readme