encapsulate rendering methods into new renderer classes