updated exercises 1.37-39