made previous word equal to current word