wip Set buf