started renderer rewrite