cost control and margin analysis