add `locate` method