finish add,remove and lookup