Filling out lookup table