The previous exercise is useful as a starting point.