replaced another searchEdge by lookup