added date to beginning of output