New alternate findDefinition method using the index