added candidate elim prototype