add GCD sample