Ab footer refactor