add needle support (#765)