added typedef syntax