and also if w = 1, because it will raise a ZeroDivisionError line 303