prototyping: added selection event