dist for typedef