Flock Logic