fixed task16 solution, unchecked