Adding instrument locator code