Added stuff to the candidate generation section