A first working version of AddDat