Use StringBuilder instead of String concatenation