adds date column to output