add footer functions