order of committal to intermittent custody