creating lookup table