Compilable version of my_lab2