added date to logging