what function does this currently perform since there is a call to `avatar->render(0)` just above