add some code snippets regarding metaprogramming stuff