might be worth abstracting out the doc id into it's own function that just gets the config object so you don't have to hard code that in multiple places