lab9 update - task 2