add domain parsing