add selection attribute to example in README