reworked the rendering (skiped simplexml)