Avoid division by zero for extra credit