shimming in process and buffer because globals