changed stringbuffer to stringbuilder (not synchronized == faster)