I feed the neighborhood dogs a snack once a day. One day a chicken showed up out of no where. She wouldn't leave until I fed her. I realized later that she was laying eggs in my storage shed and she was socializing with me in hopes of developing a food source. Soon she was sleeping at my back door with a brood of chicks and I was feeding them twice a day. Her plan worked.