updated hash and lookup to use data.table