this method's accepting a renderer argument, which it no longer uses as it instantiates one instead