refined the rendering a little