defined methods for header, names list and footer