first analysis, control, and improved functions