Pass outer object to revealNewElements