question regarding table lookups