used the look-up table