The indenting here is right, it's just that it looks weird because the if statement above is actually nested. The else if here actually lines up with the if ( _intAlgorithmChoice == 2... ), it's just hard to see cuz of all the deletion/addition lines