refactored file, extracted chapters(as sections) to improve teamwork