needs the lookup table