moved buffer into WV_Wrapper