resource doc working