Planning and writing cycle