Solved lookup problem