renderer class