added support for resources to lod