Solution to the first challenge - level 3