working auto lookup