condense name lookup to a table