Text this: Mathematical models for quality in multistage production systems.