set buffer
merge