Soloviev - Lab2: final version