Handled possibly division by 0.