footer logic refactored completely into fay