added some comments (specific to locator functionality) and fixed a typo

added some comments (specific to locator functionality) and fixed a typo