words are now balanced correctly