adding date parsing