finish functions for flocking with bugs