Added remove candidate functionality