passing layout functions back up through the renderer