Before the reform period, key goods were rationed when they were in short supply, but by the mid-1980s availability had increased to the point that rationing was discontinued for everything except grain, which could also be purchased in the free markets.