changes made for chapter7