modified Task 6