added domain check after adding