Made print_header() functional