adding part 3 of ex 5