implemented Render class!