sheet5: exercise3 small fixes