adding method to return the locator object directly