handle same-word lookups