added xExists, tests and x_ methods.