made task dates optional