track scrap and rework costs