fix example in readme to use an array