added default string for type