Excerise 3.1 done