Add divided by 0 handling