move the locate of function definition.