Rewrite of rendering code