exercise 4.1 resubmitted