Implemented insertLookupWithKey directly