updated to include adding new lookup entry.