fixing lab 3