events selection working