print header only the first time