completes exercise VII