reworked cond