Finished lookup with ints, but it's too slow too.