changed milling to accommodate case