lab 6 ex 8 added