add popin
add union find algo for isolated words