turned default T into str