update for variable stall detection