accidentally delete part of the code that determines target word word position. now reinstated.