Starting on the implementation of the lookup table