add bufferize method