added support for random footer