pract lab 8 and lab1 potapov