adding the getwikidate function