added domain stuff