completed if/else if/else section