finished 05 solution