Lookup evaluation function