added domains checks