added some methods for resource lookup