lookup tables basics explained