add date header to output