added follow node functionality