trying to add gfunc to func return type list, but getting a wierd type error