Take domain into account