allow wiritng to different message buffers