refatoring of domaine sales