adding EventSelector.