Header, Functions and footer added