Added a printHeader function