Implementing write chapter