Changed toxicity from int to double.