added date formatting