Implementing write chapter

Yeah, but the code below is only used on Write. Hmm. Something is out of balance here.