added lookup for resources