added version for varying domains