[49574871] basic function to support assign multiple candidates