-Add footer
-Optimized code