replaced StringBuffers with StringBuilders