fleshing out the api calls, adding date exetension