lab 3.1 fix