simple lookup table problem