add footer option. close #7