added writeString_C