added typename for gcc