flock example added