documentation for renderAdvance