Solving the same domain problem