change method for locate resources