optimized renderer class