print footer