working on flocking example