save buffer throughout session