trying to avoid overflow