add footer
adjust type