Gii tournament generated code