changed getDefinition to findDefinition