Added domain addition functionality