Initial revision for exercise 41.