Replaced string concatenation with StringBuilder