Added calculation of candidate words