added list macro and moved footer