printHeader* method modifier change to public from private