xml input working