adding xml format option