add support for footer