defensively you might also want to handle the case where the domain isn't found