1st part of advanced homework for unit 8