This method can be removed, in call directly setRenderer from the constructor