removing and searching in list