add buffer support

also not needed