added xDiffer, x_ methods and tests