updated lab2-zad7-reference