Finished cchapter 3