added controls for rendering