analysis and adjustments