What resources would an insect use in a log and what for.