if domain is still nil at this stage we should probably raise an exception