locator code added