started working on lookup table