The journal of animal ecology