Look up table function implemented