cleaned - final submission for ICA3 & HW8