Keeping track of material costs