adds check for date as can now be nil