add controlflow example