Remove commented out line, added brackets to single line if statement.
Added locator example.