Uncommented getRightWord method