made renderer configurable via init parameter