cond on arrays