task 3, GCD, done !!!
Task 4, done !!