stabilization and optimization