First version of the exercise 1