add ifthenelse card