A modified version of Flock