removed useless function, now, we have the target position