better stock#threshold integration