add helper threshold arg