removed xml printing used for debugging purposes