task10(changed)