Adding footer an correcting header file