removed xml() method