adds printing header