Change funcs declaration order