// added automatic date formatting