Refactored intx.