working on the rendering