Wrote lookup table loader