caused template to call a render function in order to determine how to display each record in the table