support typedef output