added cache for resources