if/else/for bracket removal