Change function position