lecture3 fix