needle definitions and tests added