footer method written