date handling and notification madness