added custom document provider