solutions to exercices added