created renderer class