Could you give me an example of how to implement a lookup table in this case?