better header hehehehe
added footer
added functions