created domain pair map and histogram functions