add cstring to examples