Added cgen context