ed , however , was nodding as if the detective had produced not just a single pearl of wisdom but a whole string of them , leydecker rummaged in his pocket and came out with a little tube of toothpicks .