add logical_xs