switched footerView back to being a local variable