lookup instead of strings integer values in array