adding support for multiple renderers