print header message at the beginning