use typedef in header file