added flocking