cleaned up code comments for the renderer class