added string example (segmentation fault)