adding exercises 2 & 3