added domain and maps to contain domains