Added follow target code.