Completing excercises 1-2