fixing example in README to give correct output