refactor help buffer initializer