beforeclearing2