add shim to buffer