begin setting up lookup table