add cond for eval