currently broken...

difficulty aligning the writer to overwrite specific parts of the file