Daniel Implemented the traversing of the saveBuffer, yet need to implement the writing of the savebuffer