added ‘get_header’ method