updated example, added partial support for single and multiple selection