done tasks: zad6 & zad7