change place when call function