refactoring string_buffer function names