simplify typedef