working on cand_elim