add some GCD snippets