// Prevent division by zero