Added support for cond