Priority selecting works