added new mode to xml