makes contentString function