parse the distribution needles
implement a needle search - taking optionally an array reference