better implementation of the lookup method for a localized field