Partial solution to the fifth challenge - level 2