adding in structure of flock