Added CreateFlock & added call to flock