add needed codes for footer