Added func for printing header
Added func for printing output