cond handling in state interface