added footer
updated footer
fixed some code