vertex selection works