added assignment 7 (extra credit)