selection structure to make analyzer.cc more readable
reduced analyzer