refactors wordView, working now