solved 2 exercices