xml first draft output works