Exercise 4 on lab 8 done