add isRendering method