new method: getDomain()