completed parts 2 & 3 of Lab7