Changed type from 'String' to 'T'

Type was not a string