listened to lectures 8 and 9