Added get method for resources