added support for cond arguments