change stringbuffer to stringBuilder