modified the definition of a function func(i,j) in the module mod_frank