now res is xml