preparing brown clustering