add scopebuffer