insertB and removeB have been finished