removed not needed stuf from rendering helper class