changed typdef