ch dir struct