fixing left out fles - finished main part of chapter5