updated selector extension