typedef order reversed