Add listheader and streamhedaer orint function.