added runtime error for divide by zero