working dynamic footer