more directly code the rendering