Before top bottom refactor.