add typedef on struct