Adding lookup table generator