Refactor left and right domains