basis of platform independence with narrowstrings