collecting info to be passed to render