completed text for chapter13