Now checks for divide by zero