renderer class is now working