add control flow example