quick fix to send the list of footers to the function that chooses it, since it's not global anymore