lookup add functionality