redesigned extern to lookup lambda