Use StringBuilder to make string operation more efficient