Use of typedef