TP Flocking Implementation