change the rendering process to give the view more control