task 3 solution added