exercies 1 & 2 done