renamed render to renderAll