zad2/cw09 implemented