finished class8 ex 1 -4