. . "The judge determines whether to order an intermediate or a community" . .