Slightly modified lect8 and added lect9