moved back to function local string buffers