needs domain as raw