Now able to save the contents of the buffer