This is the right answer. I was just going to say that my older hens aren’t laying much if at all in the summer heat, but they were reliable in Spring when temps were cool enough to hatch babies. Only the pullet and ducks are laying regularly.Generally they lay their best their first laying season, then after their 18 month molt they decrease their egg production by 25% for the next 2-3 years, then by 10% each year on afterward. That's why some people cull hens after they pass the pullet stage.
Also consider that as they age, they become more seasonal in their laying. Mature hens make bigger eggs and healthier chicks than pullets as a general rule. After the 18 month molt, hens will angle towards laying most their eggs in the time of year best for raising chicks, which will be spring and early summer in most temperate places. They'll quit laying after the summer solstice and can take breaks for as long as 4-6 months at a time, although breaks that long aren't the norm for typical hatchery layers of modern design.