add exercises 17 and 18