footer factorisation