added another handler for selector element