added addCandidate otalk function