changed date to string