Modifications to Task 5.