zad2/cw10 implemented