buffer data from the server