very minor changes complexity section