document waitforneedle