simplified logic for choosing a renderer